import { http } from '@/common/https.js'

// 获取时间段
export const logisticePlanPeriod = () => {
  return http({
    url: '/system/dict/data/type/logistics_plan_period',
    method: 'get',
  })
}

// 获取物流计划状态
export const logisticePlanStatus = () => {
  return http({
    url: '/system/dict/data/type/logistics_approval_status',
    method: 'get',
  })
}

// 获取入库管理出入库状态
export const inOutStatus = () => {
  return http({
    url: '/system/dict/data/type/logistics_inorder_status',
    method: 'get',
  })
}
// 获取出库管理状态
export const outStatus = () => {
  return http({
    url: '/system/dict/data/type/logistics_outorder_status',
    method: 'get',
  })
}

// 获取出入库操作类型
export const inType = () => {
  return http({
    url: '/system/dict/data/type/inorder_operlog_opertype',
    method: 'get',
  })
}

// 获取出库操作类型
export const outType = () => {
  return http({
    url: '/system/dict/data/type/outorder_operlog_opertype',
    method: 'get',
  })
}

// 获取通知操作类型
export const noticeType = () => {
  return http({
    url: '/system/dict/data/type/sys_alert_type',
    method: 'get',
  })
}
